<template>
  <div class="app-container home">
    <el-row :gutter="20" type="flex" justify="space-between">
      <el-col :sm="24" :lg="12" style="padding-left: 20px">
        <h2>Vue3后台管理模板</h2>
        <p>
          可视化运维及智慧用电监测预警系统通过物联网技术将数据实时展现在平台上，可视化图形随时随地监测系统工作状态，提前预判运行风险。当前端设备出现异常时，系统平台可通过手机短信、微信等多种形式通知管理人员。
        </p>
        <p>
          可视化运维及智慧用电监测预警系统为用户提供智能运维管控能力，包括智能集中管控、智能环境监测、智慧用电监测、远程操控、能耗分析、故障预测、智能告警等功能
        </p>
        <p>
          <b>当前版本:</b> <span>v{{ version }}</span>
        </p>
      </el-col>
      <el-col :xs="24" :sm="12" :md="12" :lg="8">
        <el-card class="update-log">
          <template #header>
            <div class="clearfix">
              <span>关注我们</span>
            </div>
          </template>
        </el-card>
      </el-col>
    </el-row>
    <el-divider />
    <el-row :gutter="20">
      <el-col :xs="24" :sm="24" :md="12" :lg="8">
        <el-card class="update-log">
          <template #header>
            <div class="clearfix">
              <span>联系信息</span>
            </div>
          </template>
          <div class="body">
            <p>
              <i class="el-icon-s-promotion" />
              中山市创思特信息科技有限公司
            </p>
            <p>
              <i class="el-icon-location-outline" /> 地址：<a href="javascript:;">广东省中山市东区起湾道宝利大厦3楼C、D座</a>
            </p>
            <p>
              <i class="el-icon-phone" /> 电话：<a href="javascript:;">0760-88386982</a>
            </p>
            <p>
              <i class="el-icon-printer" /> 传真：<a href="javascript:;">0760-88384782</a>
            </p>
            <p>
              <i class="el-icon-message" /> 邮箱：<a href="javascript:;">zstru@zstru.com</a>
            </p>
          </div>
        </el-card>
      </el-col>
    </el-row>
  </div>
</template>

<script setup name="Index">
import useSocketStore from '@/store/modules/socket'
import { ref } from 'vue';
import { storeToRefs } from 'pinia';
const socketStore = useSocketStore();
const { onlineNum } = storeToRefs(socketStore);
const version = ref('3.8.3')


function goTarget(url) {
  window.open(url, '__blank')
}
</script>

<style scoped lang="scss">
.home {
  blockquote {
    padding: 10px 20px;
    margin: 0 0 20px;
    font-size: 17.5px;
    border-left: 5px solid #eee;
  }

  hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #eee;
  }

  .col-item {
    margin-bottom: 20px;
  }

  ul {
    padding: 0;
    margin: 0;
  }

  font-family: "open sans",
  "Helvetica Neue",
  Helvetica,
  Arial,
  sans-serif;
  font-size: 13px;
  color: #676a6c;
  overflow-x: hidden;

  ul {
    list-style-type: none;
  }

  h4 {
    margin-top: 0px;
  }

  h2 {
    margin-top: 10px;
    font-size: 26px;
    font-weight: 100;
  }

  p {
    margin-top: 10px;

    b {
      font-weight: 700;
    }
  }

  .update-log {
    ol {
      display: block;
      list-style-type: decimal;
      margin-block-start: 1em;
      margin-block-end: 1em;
      margin-inline-start: 0;
      margin-inline-end: 0;
      padding-inline-start: 40px;
    }
  }
}
</style>

